/*
 * URL.hpp
 *
 *  Created on: Apr 25, 2011
 *      Author: nathanielclinger
 */

#ifndef URL_HPP_
#define URL_HPP_

#include <iostream>
#include <string>
#include <sstream>
//#include "Comment.hpp"
#include "ArrayList.hpp"

using namespace std ;

class URL
{
	string url ;		// declare a string
	int plus, minus ;

	//ArrayList<Comment> comments ;

	public:
		URL() ;
		URL( string s ) ;
		URL( URL& ) ;
		/*void setURL( string str ) ;
		//string getURL() ;
		void votePlus() ;
		void voteMinus() ;
		int getPlus() ;
		int getMinus() ;
		void addComment( string s ) ;
		string getComment( int n ) ;
		int numComments() ;*/

		friend ostream& operator<<( ostream&, const URL& ) ;
} ;

#endif /* URL_HPP_ */
